package com.fx.ruankao.exception;

/**
 * 业务异常类
 * 用于在业务逻辑中抛出特定的业务错误
 */
public class BusinessException extends RuntimeException {

    private String message;

    public BusinessException(String message) {
        super(message);
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}